<?php 

/**
 * @author Pawel Giemza
 * @version 1.2
 * @package Arrow
 * @subpackage Orm
 * @link http://arrowplatform.org/
 * @copyright 2009 3code 
 * @license GNU LGPL
 * 
 * @date 2009-06-01 
*/

class ArrowOrmConfig implements IArrowCacheable{

	
	public static function getDatasourceConf($name, $group = null){}
		
	public static function getModelConf( $model = null ){}
	
	public static function getDefaultDataSourceName(){}
		
  	/**
  	 * 
  	 * Returns value of option. 
  	 * If option has not been defined false will be returned as default value.
  	 * 
  	 * @param String $name
  	 */
  	public static function getOption($name){
  		if (isset(self::$options[$name]))
		  	return self::$options[$name];
		return false;
  	}
  	
  	
  	/**
  	 * 
  	 * Set value of ORM configuration option.
  	 * Any typeof value is alloed but Boolean is recommended.
  	 * @param String $name
  	 * @param Mixed $value
  	 */
  	public static function setOption($name,$value){
		self::$options[$name] = $value;
  	}
  	
  	//helpers 
	public static function getFieldList($class){}
	public static function getRequiredFields($class){}   	
  	
  	
} 	
?>